import 'package:hand_writing/database/database.dart';

class WriteBoxState {
  bool isExpanded;
  Note note; // 假设数据库实体是 Notes 而不是 Note

  WriteBoxState({
    required this.note,
    this.isExpanded = false,
  });

  String get content => note.content;
  DateTime get createdAt => note.createdAt;
  int get id => note.id;
}
